package com.yanqu.road.entity.inn;

import com.yanqu.road.entity.DataObject;

public class UserDishes extends DataObject {
    private long userId;

    private int dishesId;

    private int level;   //技能等级

    private int currentCookNum; //当前菜品烹饪次数



    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId){
            this.userId = userId;
            setUpdateOption();
        }

    }

    public int getDishesId() {
        return dishesId;
    }

    public void setDishesId(int dishesId) {
        if(this.dishesId != dishesId){
            this.dishesId = dishesId;
            setUpdateOption();
        }
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        if(this.level != level){
            this.level = level;
            setUpdateOption();
        }
    }

    public int getCurrentCookNum() {
        return currentCookNum;
    }

    public void setCurrentCookNum(int currentCookNum) {
        if( this.currentCookNum != currentCookNum){
            this.currentCookNum = currentCookNum;
            setUpdateOption();
        }
    }
}
